<template>
  <div>
    <p>ChildCom</p>
    <p>{{message}}</p>
    <GrandchildCom></GrandchildCom>
  </div>
</template>

<script>
import GrandchildCom from './GrandchildCom.vue';

export default {
  components: {
    GrandchildCom
  },
  inject:["message"]
}
</script>

<style>
</style>